//
//  Array.m
//  jiexi
//
//  Created by dllo on 15/11/9.
//  Copyright (c) 2015年 liyinkai. All rights reserved.
//

#import "Array.h"
#import "FirstModel.h"
@implementation Array

-(instancetype)init {
    self = [super init];
    if (self) {
        NSArray *array = [[NSArray alloc] initWithContentsOfFile:@"/Users/dllo/Desktop/work/ui12homework/jiexi/jiexi/lwsb.plist"];
        _array = [[NSMutableArray alloc] init];
        for (NSDictionary *dic in array) {
            FirstModel *first = [[FirstModel alloc] init];
            [first setValuesForKeysWithDictionary:dic];
            [_array addObject:first];
        }
    }
    return self;
}

@end
